<template>
  <div class>
    <grid-view>
      <goods-list-item v-for="(item, index) in categoryDetail" :key="index" :goods="item"></goods-list-item>
    </grid-view>
  </div>
</template>

<script>
import GridView from "@/components/common/gridView/GridView.vue";
import GoodsListItem from "@/components/content/goods/GoodsListItem.vue";

export default {
  props: {
    categoryDetail: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  data() {
    return {};
  },
  components: {
    GridView,
    GoodsListItem
  },
  methods: {}
};
</script>

<style lang='scss' scoped>
//@import '@/assets/css/'; //引入公共css类
</style>